// 引入路由
import React from "react"

//引入组件 
import CouponInfo from "@/pages/Coupon/CouponInfo"


// 创建子路由列表
const RouterList = [
    {
        path:"info",
        element:CouponInfo,
        auth:true
    },
]


// 创建父组件，仅仅作为容器
const ParentRouter = () => <React.Router.Outlet/>

// 创建路由列表
const Routes = [
    {
        path:"/coupon",
        element:ParentRouter,
        children:RouterList
    }
]

export default Routes